home *** CD-ROM | disk | FTP | other *** search
- #include <SQLite.au3>
- #include <SQLite.dll.au3>
-
- _SQLite_Startup()
- Local $sTestString,$i,$aRow
- For $i = 1 To 255
- $sTestString &= Chr($i)
- Next
- _SQLite_Open()
- _SQLite_Exec(-1,"CREATE TABLE test (a)")
- _SQLite_Exec(-1,"INSERT INTO test VALUES (" & _SQLite_Escape($sTestString) & ")")
- _SQLite_QuerySingleRow(-1,"SELECT a FROM test LIMIT 1",$aRow)
- If $aRow[0] = $sTestString Then ConsoleWrite("! identical !" & @LF)
- _SQLite_Shutdown()